package component

//func NewCmdComponentSlave2Master() *cobra.Command {
//	cmd := &cobra.Command{
//		Use:   "slave2master",
//		Short: "Run this command to change a slave node to master node",
//		RunE:  ckectlComponentSlave2Master,
//		Args:  cobra.NoArgs,
//		SilenceUsage: true,
//	}
//	AddComponentFlags(cmd.Flags())
//	return cmd
//}
//
//func ckectlComponentSlave2Master(cmd *cobra.Command, args []string) error {
//	return ckectlComponentAction("slave2master")
//}
